<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>资质转让待审核</title>
    <%@ include file="../../../header.jsp" %>
</head>
<body  class="body-main">
<div class="titleSearch" id="search">
    <d:hasUrlAuth authCode="ZZSC_ZS_SYB">
        <div class="layui-inline">
            <label>所属事业部：</label>
            <div class="layui-input-inline">
                <select class="select-style" name="signOrgId" id="signOrgId">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
    </d:hasUrlAuth>

    <div class="layui-inline">
        <label>资质类型：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateType" id="certificateType"
                    onchange="loadCertificateType('190px','#certificateType','${generalType}',1,'#certificateSpecialty',1)">
                <option value="">请选择</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <label>资质名称：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateSpecialty" id="certificateSpecialty">
                <option value="">请选择</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <label>资质等级：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateLevel">
                <option value="">请选择</option>
                <c:forEach items="${certificateLevels}" var="level">
                    <option value="${level.code}">${level.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>

    <div class="layui-inline">
        <label>超期状态：</label>
        <div class="layui-input-inline">
            <select class="select-style" id="overdueStatus">
                <option value="">请选择</option>
                <c:forEach var="s" items="${overdueStatus}">
                    <option value="${s.code}">${s.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>

    <div class="layui-inline">
        <label>地区：</label>
        <div class="layui-input-inline" id="certificateArea">
            <input type="hidden" name="certificateAreaId" id="certificateAreaId" class="plug-in-msg"/>
            <input type="hidden" name="certificateAreaCodes" id="certificateAreaCodes" class="plug-in-code"/>
            <input type="text" readonly placeholder="请选择" class="chose-plugIn layui-input">
            <div class="bus-picker">
                <div class="bus-picker-tab">
                    <a href="javascript:void(0);" class="active">请选择</a>
                </div>
                <div class="bus-picker-content"></div>
            </div>
        </div>
    </div>


    <div class="layui-inline">
        <label>适用范围：</label>
        <div class="layui-input-inline">
            <select class="select-style" id="applicationScope">
                <option value="">请选择</option>
                <c:forEach var="a" items="${applicationScopes}">
                    <option value="${a.code}">${a.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>


    <div class="layui-inline">
        <label>关键字：</label>
        <div class="layui-input-inline">
            <input type="text" id="keyword" class="input-style win250" placeholder="资质编号"/>
        </div>
    </div>

    <div class="layui-inline">
        <button class="layui-btn layui-btn-mini layui-btn-normal" onclick="search('#myTable','reload')">搜索</button>
        <button class="layui-btn layui-btn-mini layui-btn-primary" onclick="cleanSearch()">清空</button>
    </div>
</div>
<div style="display: none;">
    <input id="generalType" value="${generalType}"/>
    <input id="currentAuditerId" value="${currentAuditerId}"/>
</div>
<d:hasUrlAuth authCode="ZZSC_ZS_PT_GLY">
    <div class="table-conter" id="reviewSettings">
        <a href="javascript:void(0)" class="layui-btn layui-btn-mini" onclick="audit()">审核</a>
        <a href="javascript:void(0)" class="layui-btn layui-btn-mini" onclick="changeAudit()">变更审核人</a>
        <a href="javascript:void(0)" class="layui-btn layui-btn-mini" onclick="auditStep()">审核设置</a>
    </div>
</d:hasUrlAuth>

<table id="myTable" class="cell-border crm-table">
</table>

<%@ include file="../../../footer.jsp" %>
<script src="${rootUrl}/static/js/zzsc/credential/credentailCommon/credentailCommon.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/common/sc_chooseUser.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/credential/qualificationTransfer/index.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/production/sc_common.js?v=${version}"></script>
</body>
</html>

